<template>
<div>
  <el-table :data="tableData" style="width: 100%" row-key="id" border lazy :load="load"
    :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
    <el-table-column prop="date" label="时间" width="200"></el-table-column>
    <el-table-column prop="totalMoney" label="总价/￥"></el-table-column>
    <el-table-column prop="Num" label="门票数量" width="150"></el-table-column>
  </el-table>
</div>
</template>
<script>
  export default {
    data() {
      return {
        
      }
    },
    props: {
        tableData: {
            type: Array,
            default: []
        }
    },
    methods: {
      load(tree, treeNode, resolve) {
        setTimeout(() => {
          resolve(this.resolve1)
        }, 1000)
      }
    },
  }
</script>